module.exports = {
  getRandom(start, end, span) {
    span = span || 1;
    return random(start * span, end * span);
  },
  possible(start, end, span) {
    var span = span || 100;
    var v = this.getRandom(1, span);
    if (v < start || v > end) {
      return false;
    } else {
      return true;
    }
  },
};
